package com.yunxi.model.sat;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 满意度表
 * </p>
 *
 * @author caoYong
 * @since 2019-09-26
 */
@Data
@TableName("pms_evaluate")
@ApiModel(value="Evaluate对象", description="满意度表")
public class Evaluate implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "EVAL_ID", type = IdType.UUID)
    private String evalId;

    @ApiModelProperty(value = "满意度类型(0总体满意度,1订单满意度,2交车满意度,3品鉴顾问满意度)")
    @TableField("EVAL_TYPE")
    private String evalType;

    @ApiModelProperty(value = "业务id")
    @TableField("BUS_ID")
    private String busId;

    @ApiModelProperty(value = "表id")
    @TableField("TABLE_ID")
    private String tableId;

    @ApiModelProperty(value = "客户编号")
    @TableField("CUSTOMER_NO")
    private String customerNo;

    @ApiModelProperty(value = "客户姓名")
    @TableField("CUSTOMER_NAME")
    private String customerName;

    @ApiModelProperty(value = "销售顾问编号")
    @TableField("SALES_CONSULTANT_NO")
    private String salesConsultantNo;

    @ApiModelProperty(value = "星级")
    @TableField("EVAL_STAR")
    private Integer evalStar;

    @ApiModelProperty(value = "渠道商编号")
    @TableField("PARTNER_CODE")
    private String partnerCode;

    @ApiModelProperty(value = "备注")
    @TableField("MEMO")
    private String memo;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "CREATE_TIME",fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    @TableField(value = "UPDATE_TIME",fill = FieldFill.UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "创建人")
    @TableField(value = "CREATE_BY",fill = FieldFill.INSERT)
    private String createBy;

    @ApiModelProperty(value = "修改人")
    @TableField(value = "UPDATE_BY",fill = FieldFill.UPDATE)
    private String updateBy;

}
